From: Bastien Nocera Date: Mon, 12 Nov 2012 11:55:52 +0000 (+0100) Subject: Bluetooth: Remove ObexFTP functionality X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~5447 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=1f2d7fa28fdae6d8c839aa92bcbcb1a9a2ebe403;p=gnome-shell.git Bluetooth: Remove ObexFTP functionality ObexFTP browsing in gvfs is completely broken, and unmaintained. http://www.hadess.net/2011/11/obexftp-in-gnome-non-update.html Remove the UI for it. The more adventurous can go and use it (as long as I don't get the bug reports). https://bugzilla.gnome.org/show_bug.cgi?id=688160 --- diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index 22a1b6655..4558cc323 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -239,22 +239,6 @@ const Indicator = new Lang.Class({ this._applet.send_to_address(device.bdaddr, device.alias); })); } - if (device.capabilities & GnomeBluetoothApplet.Capabilities.OBEX_FILE_TRANSFER) { - item.menu.addAction(_("Browse Files..."), Lang.bind(this, function(event) { - this._applet.browse_address(device.bdaddr, event.get_time(), - Lang.bind(this, function(applet, result) { - try { - applet.browse_address_finish(result); - } catch (e) { - this._ensureSource(); - this._source.notify(new MessageTray.Notification(this._source, - _("Bluetooth"), - _("Error browsing device"), - { body: _("The requested device cannot be browsed, error is '%s'").format(e) })); - } - })); - })); - } switch (device.type) { case GnomeBluetoothApplet.Type.KEYBOARD: